<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use DB;
class CommonController extends Controller
{
    public function common()
    {
       $time = time();
       $time = date('Y-m-d');
       
        $sql  = "select * from income where time = $time";
        
        $list = DB::select($sql);

        
    }
}
